<template>
  <a-config-provider :locale="appLocale">
    <div id="app">
      <BasicLayout />
    </div>
  </a-config-provider>
</template>

<script setup lang="ts">
import BasicLayout from '@/layouts/BasicLayout.vue'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'

/*已改为在权限校验文件中获取*/
/*const loginUserStore = useLoginUserStore()
loginUserStore.fetchLoginUser()*/
// 设置dayjs的默认语言为中文
dayjs.locale('zh-cn')
const appLocale = zhCN //设置当前应用的语言环境
</script>

<style scoped></style>
